//
//  LabelWaterLayout.h
//  网易上面的滑动栏
//
//  Created by mafeng on 16/8/3.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LabelWaterLayoutDelegate <NSObject>
// 返⃣回⃣label的⃣宽⃣度⃣的⃣方⃣法⃣
- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout height:(CGFloat)height widthForItemAtIndexPath:(NSIndexPath *)indexPath;

@end
@interface LabelWaterLayout : UICollectionViewLayout
@property (nonatomic, weak) id<LabelWaterLayoutDelegate> delegate;
@end
